<template>
	<div>
		<Test :num="num" />
		<button @click="add">增加</button>
	</div>
</template>

<script setup lang="ts">
import { ref } from 'vue'
import Test from './Test.vue'

const num = ref(0)
const add = () => {
	num.value += 1
}
</script>
